|
|
Here is the pertinent code:
#version 3
#include "colors.inc"
global_settings
{assumed_gamma 1.0
}
#default {texture {pigment { color Red } } };
// ----------------------------------------
camera
{
location <0.0, 1.5, -6.0>
direction 1.5*z
right 4/3*x
look_at <1.0, 0.0, 0.0>
}
//Earth
sphere
{<0,0,0> 1
texture { pigment
{
image_map
{
sys "earthmap.bmp" // supports gif, tga, png, sys (bmp)
map_type 1 // 1=spherical mapping
//interpolate 2 // smooth it
once // don't tile image, just one copy
}
// transform it to unit-size (-1 to +1)
// translate <0,180,0>
// scale .7 // make it unit-sized
rotate<0,180,180> //rotate on Y axis over n frames
}
finish {ambient 0.3}
}
scale 1
}
Post a reply to this message
|
|